package com.acme.bankapp.domain.bank.accounts;

import com.acme.bankapp.exceptions.NotEnoughFundsException;

import java.io.Serializable;

public interface Account extends Serializable {
	void deposit(double amount);
	void withdraw(double amount) throws NotEnoughFundsException;
	double getBalance();
	double maximumAmountToWithdraw();
	double decimalValue();
}
